import React, { Component } from 'react';

class Footer extends Component {
    constructor(props) {
        super(props)
    }
    render() {
        return (
            <div>
                <h2>底部组件</h2>
                <button onClick={() => { this.props.changeCount() }}>点击更新兄弟组件的数据</button>
            </div>
        );
    }
}

export default Footer;